package com.bee.shepherd.web.controller.admin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by xiaolong.zhao on 20/7/3.
 * 视图测试用例
 */
@Controller
@RequestMapping("/view")
public class DemoViewController {

    @RequestMapping("/demoView")
    public ModelAndView queryDemoView1(){
        ModelAndView modelAndView=new ModelAndView("demo");
        modelAndView.addObject("username","demo");
        return modelAndView;
    }
}
